Component({
    externalClasses: [ "x-class" ],
    properties: {
        type: {
            type: String,
            value: "banner"
        },
        unitId: {
            type: String,
            require: !0
        }
    },
    data: {
        adMove: !1
    },
    methods: {
        onAdLoad: function() {
            console.log("ad loaded"), this.setData({
                adMove: !1
            });
        },
        onAdError: function(e) {
            console.error("广告加载错误：", e), this.setData({
                adMove: !0
            });
        },
        onAdClose: function() {
            console.log("ad closed"), this.setData({
                adMove: !0
            });
        }
    }
});